package cn.likole.oj.bean;

import org.nutz.mvc.annotation.Param;

/**
 * Created by likole on 8/2/18.
 * 给datatable使用的交互数据
 */
public class Datatables {

    /**
     * 关键词
     */
    @Param("search[value]")
    private String search;

    /**
     * 开始条数
     */
    private int start;

    /**
     * 条数
     */
    private int length;

    /**
     * 原封不动传回去
     */
    private int draw;


    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getDraw() {
        return draw;
    }

    public void setDraw(int draw) {
        this.draw = draw;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }
}
